import Layout from '@/layout'

// 设备管理
const deviceRouter = {
  path: "/deviceManage",
  component: Layout,
  name: "DeviceLayout",
  redirect: "noRedirect",
  meta: { title: "设备管理", icon: "el-icon-s-tools" },
  sort: 1,
  children: [
    {
      path: "deviceList",
      name: "DeviceList",
      component: () => import("@/views/deviceManage/deviceList/index"),
      meta: { title: "设备列表" },
    },
    {
      path: "teamDevice",
      name: "TeamDevice",
      component: () => import("@/views/deviceManage/teamDevice/index"),
      meta: { title: "团队设备" },
    },
    {
      path: "deviceTransfer",
      name: "DeviceTransfer",
      component: () => import("@/views/deviceManage/deviceTransfer/index"),
      meta: { title: "设备划拨" },
    },
    {
      path: "myDevice",
      name: "MyDevice",
      component: () => import("@/views/deviceManage/myDevice/index"),
      meta: { title: "我的设备" },
    },
    {
      path: "deviceGroup",
      name: "DeviceGroup",
      component: () => import("@/views/deviceManage/deviceGroup/index"),
      meta: { title: "设备分组" },
    },
    {
      path: "exceptionDevice",
      name: "exceptionDevice",
      component: () => import("@/views/deviceManage/exceptionDevice/index"),
      meta: { title: "异常设备" },
    },
    {
      path: "deviceTags",
      name: "deviceTags",
      component: () => import("@/views/deviceManage/deviceTag/index"),
      meta: { title: "设备标签" },
    },
    {
      path: "MyDeviceIncome",
      name: "MyDeviceIncome",
      component: () => import("@/views/deviceManage/myincome/index"),
      meta: { title: "收益列表" },
    },

  ]
}

export default deviceRouter
